package com.firstfactory.Impl;

public class MarkPersonFactory {
    public Object doMarkPerson(String country) {
        if ("Chinese".equals(country)) {
            return new Chinese();
        } else if ("American".equals(country)) {
            return new American();
        } else {
            return null;
        }
    }
}
